var LongVal =new Long(0xcc64c02e,0x0100166f);
console.log(LongVal);
//Long里面修改unsigned的！可以修改这边的结果
Long { low: -865812434, high: 16782959, unsigned: false }
var buff = new Buffer("0100166fcc64c02e", 'hex');
console.log(buff);//<Buffer 01 00 16 6f cc 64 c0 2e>
var highbuff = buff.readUInt32BE(1); //每次是4个字节
var lowbuff = buff.readUInt32BE(4);
//buff.readUInt32BE(0)的时候100166f  <Buffer 01 00 16 6f> 隐去0
//buff.readUInt32BE(1)的时候166fcc   <Buffer 00 16 6f cc> 隐去00
console.log(highbuff.toString(16))//16进制
//buff.readUInt32BE(2)的时候166fcc64  <Buffer 16 6f cc 64>
//buff.readUInt32BE(3)的时候6fcc64c0  <Buffer 6f cc 64 c0>
//buff.readUInt32BE(4)的时候cc64c02e  <Buffer cc 64 c0 2e>
//buff.readUInt32BE(5)<Buffer 64 c0 2e undefined>就少1位错误越界
console.log(lowbuff.toString(16))